{extends file="User/index.html"}
{block name="main"}
    <form action="./index.php?c=user&a=update" method="post" class="h3">
        <input type="hidden" name="id" value="{$data['id']}">
        name:
        <input type="text" name="name" placeholder="请输入用户名" value="{$data['name']}"><br><br>
        sex:
        <input type="radio" name="sex" value="0" {if $data['sex'] == 1}checked{/if}>女
        <input type="radio" name="sex" value="1" {if $data['sex'] == 0}checked{/if}>男
        <br><br>
        age:
        <input type="text" name="age" value="{$data['age']}"><br><br>
        class:
        <input type="text" name="class" value="{$data['class']}"><br><br>
        height:
        <input type="text" name="height" value="{$data['height']}">
        <br><br>
        <input type="submit" value="确认编辑">
    </form>
{/block}